package com.qhhc.hospital.entity;

import java.math.BigDecimal;

public class Drug {
    private Integer drId;
    private String drName;
    private BigDecimal drPrice;
    private Integer drNumber;
    private String drPublisher;
    private String drUnit;

    public Drug() {}

    public Drug(Integer drId, String drName, BigDecimal drPrice, Integer drNumber, String drPublisher, String drUnit) {
        this.drId = drId;
        this.drName = drName;
        this.drPrice = drPrice;
        this.drNumber = drNumber;
        this.drPublisher = drPublisher;
        this.drUnit = drUnit;
    }

    public Integer getDrId() {
        return drId;
    }

    public void setDrId(Integer drId) {
        this.drId = drId;
    }

    public String getDrName() {
        return drName;
    }

    public void setDrName(String drName) {
        this.drName = drName;
    }

    public BigDecimal getDrPrice() {
        return drPrice;
    }

    public void setDrPrice(BigDecimal drPrice) {
        this.drPrice = drPrice;
    }

    public Integer getDrNumber() {
        return drNumber;
    }

    public void setDrNumber(Integer drNumber) {
        this.drNumber = drNumber;
    }

    public String getDrPublisher() {
        return drPublisher;
    }

    public void setDrPublisher(String drPublisher) {
        this.drPublisher = drPublisher;
    }

    public String getDrUnit() {
        return drUnit;
    }

    public void setDrUnit(String drUnit) {
        this.drUnit = drUnit;
    }

    @Override
    public String toString() {
        return "Drug{" +
                "drId=" + drId +
                ", drName='" + drName + '\'' +
                ", drPrice=" + drPrice +
                ", drNumber=" + drNumber +
                ", drPublisher='" + drPublisher + '\'' +
                ", drUnit='" + drUnit + '\'' +
                '}';
    }
} 